Part Number Hot Search : 
01M10 TPP1000 SF1606GD T1113T E101E LVB050 AT93C57 MA40S4R
Product Description
Full Text Search
 

To Download EV6240 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  EV6240 evaluation kit user manual ? 1999 consumer microcircuits limited um6240/3 january 1999 advance information 1.0 features cmx624/cmx644a product evaluation selectable 2 or 4 wire line interfacing single device calling and answer mode tests at command compatible firmware controlled via pc terminal emulator single or dual device operation for ber tests and general evaluation on-board pic programming via serial interface and pc software 2-wire line ring detect circuitry and optomos hook relays socketed components and links for circuit adjustment socketed space for optional telco- specific components opto-isolated serial interface capability 1.1 brief description the EV6240 evaluation kit comprises a single boar d containing two cmx624 or cmx644a devices, line interface components, pic c with serial communications port for pc interfacing. a reduced at command set is used to communicate with the evaluation board via standard terminal emulators. the board is powered from a single 8-24v dc power supply; an on board regulator and two discrete components set v dd to provide 3.3volt or 5volt operation. led?s indicate device interrupts, carrier detect and hook relay status. the cmx6x4 devices may be driven from an external clock, or from their own crystal oscillator. important signals can be monitored via test points. the cmx6x4 devices are socketed for easy replacement. a user prototyping area is provided. on-board miniature switches allow the user to select the required line interface and appropriate evaluation device crystal. the cmx6x4 supply currents may be measured by removing jumpers. where components are telco-specific (line impedance, line protection, etc.) space is provided for the user to add appropriate components. the EV6240 pcb is suitable for cmx624 and cmx644a evaluation.
evaluation kit for cmx624/cmx644 a EV6240 2 ? 1999 consumer microcircuits limited um6240/3 contents section page 1.0 features ................................ ................................ ................................ ...... 1 1.1 brief description ................................ ................................ ......................... 1 1.2 preliminary information ................................ ................................ ............. 4 1.2.1 laboratory equipment ................................ ................................ 4 1.2.2 handling precautions ................................ ................................ . 4 1.2.3 approvals ................................ ................................ .................... 4 1.3 quick start ................................ ................................ ................................ .. 5 1.3.1 setting-up ................................ ................................ .................... 5 1.3.2 adjustments ................................ ................................ ................ 5 1.3.3 operation ................................ ................................ ..................... 5 1.4 signal lists ................................ ................................ ................................ . 6 1.5 circuit schematics and board layouts ................................ ................... 11 1.6 detailed description ................................ ................................ ................. 16 1.6.1 hardware description ................................ ............................... 16 1.6.2 adjustments and controls ................................ ....................... 18 1.6.3 firmware description ................................ .............................. 18 1.6.4 software description ................................ ................................ 28 1.6.5 evaluation tests ................................ ................................ ........ 30 1.6.6 additional information ................................ .............................. 34 1.7 performance specification ................................ ................................ ....... 45 1.7.1 electrical performance ................................ .............................. 45 note: as this product is still in development, it is likely that a number of changes and additions will be made to this specification. items marked tbd or left blank will be included in later issues.
evaluation kit for cmx624/cmx644 a EV6240 3 ? 1999 consumer microcircuits limited um6240/3 telephone/modem simulator power supply optional isolation power supply EV6240 modem 1 modem 2 ibm-pc rs232 cable j1 j8 j3 j4 j5 j6 j2 figure 1 block diagram
evaluation kit for cmx624/cmx644 a EV6240 4 ? 1999 consumer microcircuits limited um6240/3 1.2 preliminary information 1.2.1 laboratory equipment the following laboratory equipment is needed to use this evaluation kit: 1.2.1.1 8-24v dc power supply 1.2.1.2 an ibm compatible pc; 66mhz ?486 or better, running microsoft windows ? ?95/nt. the re- programming software supplied ( picprogb.exe ) runs most efficiently under dos and cannot be used with windows nt. 1.2.2 handling precaut ions like most evaluation kits, this product is designed for use in office and laboratory environments. the following practices will help ensure its proper operation. 1.2.2.1 static protection this product uses low power cmos circuits which can be damaged by electrostatic discharge. partially damaged circuits can function erroneously, leading to misleading results. observe esd precautions at all times when handling this product. 1.2.2.2 contents - unp acking please ensure that you have received all of the items on the separate information sheet (ek6240) and notify cml within 7 working days if the delivery is incomplete. 1.2.3 approvals this evaluation kit is not approved for direct or indirect connection to any public telecommunication system. users are advised to observe local statutory requirements which may apply to this product .
evaluation kit for cmx624/cmx644 a EV6240 5 ? 1999 consumer microcircuits limited um6240/3 1.3 quick start this section provides i nstructions for users who wish to experiment immediately with the evaluation kit. a fuller description of the kit and its use appears later in this document. 1.3.1 setting-up the EV6240 comes pre-configured with two cmx624 evaluation devices for operation at 5.0 volts over a 2-wire line and to be controlled via a non- isolated pc interface. rj11 (us style) phone jacks are provided for 2-wire and 4-wire connections. power is connected via the two-way socket, j1. attach the 9-way rs232 cable between connector j2 and the serial port of the pc. connect a line simulator/external modem via one of the 2-wire line rj11 connectors. 1.3.2 adjustments no board adjustments are required by the user. telco-specific components may be added, as required. 1.3.3 operation each modem is provided with an off-hook dc load, r20 (modem one) and r48 (modem two). the factory-fitted value is 2k2 w so that line simulators know when the modem has gone off hook. this resistor may be removed or an alternative value substituted. line impedance (ac) matching is provided by t1, r26 (modem one) and t4, r54 (modem two). the modems are controlled by the at command set, described in section 1.6.3, by running a terminal emulator program on the host pc. a suitable emulator is the ?hyper terminal? program which operates under windows ?95 or nt systems. there are two modes of operation for the evaluation kit: modem mode allows one of the evaluation board modems to perform calling, answering and simple data transfer with a line simulator or external third party modem (not supplied). test mode allows diagnostic and performance tests to be made on modem one and/or modem two.
evaluation kit for cmx624/cmx644 a EV6240 6 ? 1999 consumer microcircuits limited um6240/3 1.4 signal lists connector pinout connector ref. connector pin no. signal name signal type description j1 1 v in power + ve power from external power supply. 2 v ss power 0v power from external power supply. j2 1 dcd output linked to dtr. 2 txd output connection to pc receive data line (rd). 3 rxd input connection to pc transmit data line (td). 4 dtr input connection to pc data terminal ready (dtr). 5 v ss2 power connection to pc 0v common. 6 dsr output linked to dtr. 7 rts input connection to pc request to send. (rts) 8 cts output connection to pc clear to send (cts). 9 - - not used. no connection needed. j3 1,2 - - modem 1 not used. no connection needed. 3 a bi modem 1 bidirectional 2-wire line (a=tip) 4 b bi modem 1 bidirectional 2-wire line (b=ring) 5,6 - - modem 1 not used. no connection needed. j4 1 - - modem 1 not used. no connection needed. 2 txa output modem 1 4-wire line tx output a. 3 txb output modem 1 4-wire line tx output b. 4 rxa input modem 1 4-wire line rx input a. 5 rxb input modem 1 4-wire line rx input b. 6 - - modem 1 not used. no connection needed. j5 1,2 - - modem 2 not used. no connection needed. 3 a bi modem 2 bidirectional 2-wire line (a=tip) 4 b bi modem 2 bidirectional 2-wire line (b=ring) 5,6 - - modem 2 not used. no connection needed. j6 1 - - modem 2 not used. no connection needed. 2 txa output modem 2 4-wire line tx output a. 3 txb output modem 2 4-wire line tx output b. 4 rxa input modem 2 4-wire line rx input a. 5 rxb input modem 2 4-wire line rx input b. 6 - - modem 2 not used. no connection needed.
evaluation kit for cmx624/cmx644 a EV6240 7 ? 1999 consumer microcircuits limited um6240/3 connector pinout connector ref. connector pin no. signal name signal type description j7 1 v dd power v dd connection. 2 bert 4 output bert rx data clock 3 reset input pic16c77 reset. 4 bert 3 output bert rx data 5 v pp input v pp programming voltage for pic16c77. 6 bert 2 output bert tx data clock 7 v dd adj - v dd adjustment connection. 8 bert 1 input bert tx data 9 v ss power v ss connection. 10 - - not used. no connection needed. j8 1 vis+ power + ve power from isolated external power supply. 2 vis- power 0v power from isolated external power supply. test points test point ref. default measurement description tp1 8-24v v in connection tp2 0v v ss connection tp3 5v v dd connection (3.3v or 5.0v) tp4 - v pp programming voltage input for pic16c77 tp5 0v v ss2 connection tp6 5v v dd2 connection (3.3v or 5.0v) tp7 lo sclk ?c-bus? serial clock . tp8 - cdata ?c-bus? command data. tp9 - rdata ?c-bus? reply data. tp10 hi modem 1 cmx6 x 4 irqn output, pin 7. a pull up resistor r6 is included on board tp11 hi modem 1 cmx6 x 4 csn input, pin 6 tp12 - modem 1 line voltage on 2-wire line. tp13 - modem 1 dtmf input tp14 hi modem 1 ring stimulus output
evaluation kit for cmx624/cmx644 a EV6240 8 ? 1999 consumer microcircuits limited um6240/3 test points test point ref. default measurement description tp15 - modem 1 cmx6 x 4 txo output, pin 9 tp16 - modem 1 cmx6 x 4 txon output, pin 11 tp17 - modem 1 ac coupled cmx6x4 top output, pin 8 tp18 - modem 1 line signal after transformer . tp19 - modem 1 cmx6 x 4 rxn input, pin 16 tp20 - modem 1 cmx6 x 4 rxp input, pin 15 (2-wire line selected) tp21 - modem 1 cmx6 x 4 rxo output, pin 17 tp22 - modem 1 cmx6 x 4 v bias output, pin 13 tp23 hi modem 1 cmx6x4 rlydrv output, pin 14 tp24 - modem 1 cmx6 x 4 rt bidirectional pin 18 tp25 - modem 1 cmx6 x 4 rd input pin 19 tp26 hi modem 2 cmx6 x 4 irqn output, pin 7. a pull-up resistor r8 is included on board. tp27 hi modem 2 cmx6 x 4 csn input, pin 6 tp28 - modem 2 line voltage input on 2-wire line. tp29 - modem 2 dtmf input tp30 hi modem 2 ring stimulus output tp31 - modem 2 cmx6 x 4 txo output, pin 9 tp32 - modem 2 cmx6 x 4 txon output, pin 11 tp33 - modem 2 ac coupled cmx6 x 4 top output, pin 8 tp34 - modem 2 line signal after transformer . tp35 - modem 2 cmx6 x 4 rxn input, pin 16 tp36 - modem 2 cmx6 x 4 rxp input, pin 15 (2-wire line selected) tp37 - modem 2 cmx6 x 4 rxo output, pin 17 tp38 - modem 2 cmx6 x 4 v bias output, pin 13 tp39 hi modem 2 cmx6x4 rlydrv output, pin 14 tp40 - modem 2 cmx6 x 4 rt bidirectional, pin 18 tp41 - modem 2 cmx6 x 4 rd input, pin 19 tp42 - bert tx data input tp43 - bert tx data clock output tp44 - bert rx data output tp45 - bert rx data clock output tp46 0v v ss connection
evaluation kit for cmx624/cmx644 a EV6240 9 ? 1999 consumer microcircuits limited um6240/3 test points test point ref. default measurement description tp47 0v v ss connection tp48 0v v ss connection tp49 0v v ss connection tp50 0v v ss connection jumpers link ref. positions default position description jp1 1-2 s/c disconnect to supply an external clock to pic16c77 via pin 1. jp2 1-2 s/c disconnect when supplying external clock to pic16c77 via jp1 pin 1. jp3 1-2 s/c disconnect when supplying external clock to modem 1 evaluation device via jp4 pin 1. jp4 1-2 s/c disconnect to supply an external clock to modem 1 evaluation device via pin 1. jp5 1-2 s/c disconnect to measure i dd of modem 1 evaluation device. jp6 1-2 s/c disconnect when supplying external clock to modem 2 evaluation device via jp7 pin 1. jp7 1-2 s/c disconnect to supply an external clock to modem 2 evaluation device via pin 1. jp8 1-2 s/c disconnect to measure i dd of modem 2 evaluation device. jp9 1-2 s/c connect to monitor modem 1 2-wire line voltage. jp10 1-2 s/c connect to monitor modem 1 2-wire line voltage. jp11 1-2 s/c connect to monitor modem 2 2-wire line voltage. jp12 1-2 s/c connect to monitor modem 2 2-wire line voltage. notes: s/c = short circuit
evaluation kit for cmx624/cmx644 a EV6240 10 ? 1999 consumer microcircuits limited um6240/3 switches link ref. positions default position description sw1 open/closed open pic16c77 reset. sw2 1-2, 6-5/2-3, 4-5 2-3, 4-5 isolated or non-isolated (default) pc interface. sw3 1-2, 6-5/2-3, 4-5 2-3, 4-5 operating (default) or programming mode. sw4 1-2, 6-5/2-3, 4-5 2-3, 4-5 modem 1 2-wire line (default) or 4-wire line sw5 1-2, 6-5/2-3, 4-5 1-2, 6-5 modem 1 3.5795mhz (default) or 3.6864mhz. sw6 1-2, 6-5/2-3, 4-5 2-3, 4-5 modem 1 2-wire line (default) or 4-wire line. sw7 1-2, 6-5/2-3, 4-5 2-3, 4-5 modem 2 2-wire line (default) or 4-wire line. sw8 1-2, 6-5/2-3, 4-5 2-3, 4-5 modem 2 2-wire line (default) or 4-wire line. sw9 1-2, 6-5/2-3, 4-5 1-2, 6-5 modem 2 3.5795mhz (default) or 3.6864mhz.
evaluation kit for cmx624/cmx644 a EV6240 11 ? 1999 consumer microcircuits limited um6240/3 1.5 circuit schematics and board layouts vddadj gnd gnd gnd gnd c2 not fitted 33uf c3 c6 10uf 240r r7 skt 620r r4 2 1 snpskt2 j1 3 vi 1 a 2 vo u1 lm317t skt 100r r5 d1 1n4004 gnd c7 1uf k a 1n4004 d4 gnd tp1 tp2 tp3 tp46 tp47 tp48 tp49 tp50 cdata rdata sclk vdd ring2 gnd gnd 15pf c4 15pf c5 1 2 3 4 5 6 1m rp1 tp7 tp8 tp9 tp30 gnd 1 2 jp1 1 2 jp2 2 ra0 3 ra1 4 ra2 5 ra3 6 ra4 7 ra5 8 re0 1 /mclr 9 re1 10 re2 11 vdd 12 vss 13 osc1 14 osc2 15 rc0 16 rc1 17 rc2 18 rc3 19 rd0 20 rd1 22 rd3 21 rd2 26 rc7 25 rc6 24 rc5 23 rc4 30 rd7 29 rd6 28 rd5 27 rd4 32 vdd 31 vss 40 rb7 39 rb6 38 rb5 37 rb4 36 rb3 35 rb2 34 rb1 33 rb0 pic16c77 u3 vdd 1 2 3 4 5 6 1m rp2 cts rts x1 4mhz 1 j7:1 3 j7:3 5 j7:5 vdd reset vpp gnd d5 1n5341 6v2 vdd vddadj gnd 7 j7:7 9 j7:9 conn10m tp42 tp43 tp45 tp44 8 j7:8 6 j7:6 4 j7:4 2 j7:2 ber test points tp29 tp28 tp27 tp26 tp14 tp13 tp12 tp11 tp10 9 10 74hc4049 u2:d gnd r10 1k 1k r9 5 4 u2:b 3 2 u2:a 74hc4049 ring1 dtmf1 dtmf2 lv2 lv1 irqn1 csn1 csn2 irqn2 r1 10k 10k r2 r3 10k r70 10k 100k r8 d7 irqn2 vdd d6 irqn1 100k r6 vdd 7 6 u2:c reset gnd 100k r12 270r r11 d8 1n914 vdd d21 cd1 d35 cd2 tp4 2 1 sw1 switch_ptm vdd c8 47nf 1k r81 r82 1k 11 12 u2:e 14 15 u2:f vdd 16 15 1 2 u11:a ilq615 1 3 2 sw3:a c e b tr4 bc213l 1 2 3 4 5 6 1m rp3 vdd 330r r72 c e b tr2 bc213l c e b tr5 bc213l 330r r74 4k7 r38 4k7 r66 c e b tr6 bc213l vdd2 1k r75 r76 1k vpp vdd vdd vdd2 r71 330r r73 330r 330r r65 330r r37 de-coupling for ic 2, ic5 and ic7. vdd gnd gnd gnd 47nf c16 47nf c17 47nf c18 vdd2 c12 100uf vss2 47nf c13 proto_10*30 pr1 gnd 2 1 snpskt2 j8 100nf c11 c10 100nf c9 47nf gnd rxd txd gnd vdd 1k r78 r77 1k isolated psu input vss2 vdd gnd vss2 14 13 3 4 u11:b ilq615 10 9 7 8 u11:d ilq615 12 11 5 6 u11:c ilq615 1 2 3 4 5 6 7 8 9 db9f j2 vss2 program 15 vss 14 t1out 7 t2out 8 r2in 13 r1in 3 c1- 2 v+ 1 c1+ 5 c2- 4 c2+ 16 vdd 9 r2out 10 t2in 11 t1in 12 r1out 6 v- u4 max3232 100nf c14 c15 100nf 6 4 5 sw3:b vdd gnd isolate vdd2 vss2 tp5 tp6 1 3 2 sw2:a 6 4 5 sw2:b figure 2 control section
evaluation kit for cmx624/cmx644 a EV6240 12 ? 1999 consumer microcircuits limited um6240/3 rx (modem 1) 250ma fs3 1 3 4 6 t3 1:1 600r d16 not fitted 1 3 4 6 t2 1:1 600r d15 not fitted 4-wire line (modem 1) skt r17 wire link skt wire link r18 skt r19 wire link 2 3 4 5 1 6 j4 tx/rx (modem 1) c21 1uf 1 3 4 6 t1 1:1 600r skt 2k2 r20 tx (modem 1) 250ma fs2 hook1 d22 r41 1k vdd hook (modem 1) 6 5 1 2 4 u9 aqv253h skt wire link r16 r79 1k5 line select 1 (modem 1) skt 600r r26 skt 180k r31 skt r33 120k skt 600r r27 skt c26 10nf tp16 tp17 6 4 5 sw4:b skt c43 100nf skt r29 100k 1 3 2 sw4:a line select 2 (modem 1) gnd skt r25 600r skt 91k r30 tp18 tp19 1 3 2 sw6:a 100nf c22 2 3 4 5 1 6 j3 skt r15 wire link d12 not fitted d18 1n4004 c20 100nf gnd d13 1n4004 gnd 2 - 3 + 1 u5:a lmc6482n gnd d14 1n4004 d10 1n4004 d11 1n4004 1 2 jp9 1 2 jp10 line voltage monitoring (modem 1) r23 1m8 r24 120k 470k r22 2-wire line (modem 1) c19 100nf d17 1n4004 250ma fs1 470k r21 skt wire link r14 vdd d19 1n4004 ring detect (modem 1) 470k r28 tr1 zvp4424a ring1 xtal select (modem 1) external clock i/p (modem 1) csn1 sclk cdata rdata irqn1 gnd gnd 18pf c23 18pf c24 d20 1n4004 1 2 jp3 1 2 jp4 lv1 tp15 3.6864mhz x3 3.579545mhz x2 1 3 2 sw5:a 6 4 5 sw5:b skt c25 330pf vdd vdd gnd gnd 1 2 jp5 skt 68k r32 470k r35 c27 330nf tp24 tp25 100nf c29 notes: not fitted:- r14,r15,r16,r17,r18,r19,d12,d15 and d16. skt c44 1uf gnd skt 100k r34 gnd gnd 2 xtal/clk 10 txn 7 irqn 6 csn 5 repdata 4 comdata 3 serclk 1 xtaln 12 vss 13 vbias 14 rlydrv 15 rxp 16 rxn 18 rt 19 rd 20 n/a 21 n/a 22 n/a 23 n/a 24 vdd 17 rxo 8 top 9 txo 11 txon u6 cmx6x4p4 skt r36 100k line select 2 (modem 1) 6 - 5 + 7 u5:b lmc6482n dtmf1 r39 100k skt 1m r40 100nf c30 tp20 tp21 tp22 tp23 6 4 5 sw6:b skt 330pf c28 figure 3 modem one section
evaluation kit for cmx624/cmx644 a EV6240 13 ? 1999 consumer microcircuits limited um6240/3 rx (modem 2) 250ma fs6 1 3 4 6 t6 1:1 600r d29 not fitted 4-wire line (modem 2) 1 3 4 6 t5 1:1 600r d28 not fitted skt r45 wire link skt wire link r46 skt r47 wire link 2 3 4 5 1 6 j6 tx/rx (modem 2) c33 1uf 1 3 4 6 t4 1:1 600r skt 2k2 r48 tx (modem 2) 250ma fs5 r69 1k vdd hook (modem 2) hook2 d34 6 5 1 2 4 u10 aqv253h skt wire link r44 r80 1k5 line select 1 (modem 2) skt 600r r54 skt 180k r59 skt 600r r55 skt r61 120k skt c38 10nf tp32 tp33 1 3 2 sw8:a 6 4 5 sw8:b skt r57 100k skt c1 100nf line select 2 (modem 2) gnd skt r53 600r skt 91k r58 tp34 tp35 1 3 2 sw7:a 100nf c34 2 3 4 5 1 6 j5 skt r43 wire link d25 not fitted 470k r50 d31 1n4004 d27 1n4004 d26 1n4004 c32 100nf gnd gnd 2 - 3 + 1 u7:a lmc6482n d24 1n4004 d23 1n4004 gnd 1 2 jp11 1 2 jp12 line voltage monitoring (modem 2) r51 1m8 r52 120k 2-wire line (modem 2) c31 100nf d30 1n4004 250ma fs4 470k r49 skt wire link r42 vdd d32 1n4004 470k r56 ring detect (modem 2) tr3 zvp4424a lv2 ring2 xtal select (modem 2) external clock i/p (modem 2) sclk cdata rdata irqn2 csn2 gnd gnd 18pf c35 18pf c36 d33 1n4004 1 2 jp6 1 2 jp7 tp31 3.6864mhz x5 3.579545mhz x4 1 3 2 sw9:a 6 4 5 sw9:b skt c37 330pf vdd vdd notes: not fitted:- r42,r43,r44,r45,r46,r47,d25,d28 and d29. gnd gnd 1 2 jp8 skt 68k r60 r63 470k c39 330nf tp40 tp41 100nf c41 skt 1uf c45 gnd skt 100k r62 gnd gnd 2 xtal/clk 10 txn 7 irqn 6 csn 5 repdata 4 comdata 3 serclk 1 xtaln 12 vss 13 vbias 14 rlydrv 15 rxp 16 rxn 18 rt 19 rd 20 n/a 21 n/a 22 n/a 23 n/a 24 vdd 17 rxo 8 top 9 txo 11 txon u8 cmx6x4p4 skt r64 100k line select 2 (modem 2) 6 - 5 + 7 u7:b lmc6482n dtmf2 r67 100k skt 1m r68 100nf c42 tp36 tp37 tp38 tp39 6 4 5 sw7:b skt 330pf c40 figure 4 modem two section
evaluation kit for cmx624/cmx644 a EV6240 14 ? 1999 consumer microcircuits limited um6240/3 jp10 c21 j3 c30 d11 jp9 r79 c26 tp20 rxp vss tp46 vbias tp22 tp17 t2 t1 fs1 r32 r28 d17 d18 d19 d14 c28 d10 r26 r27 r25 r36 r22 d20 tr1 r29 sw6 sw4 tp14 ring1 cmx6x4p4 u6 c19 r21 r23 aqv253h u9 r33 c20 r14 tp18 r15 r20 u5 lmc6482n c25 r31 d13 txon tp16 c43 txo tp15 r24 tp25 rd d12 j1 sw5 sw1 tp3 vdd tp2 vss d4 d21 cd1 d6 irqn1 u1 x2 x3 c16 r8 d1 j7 r5 r4 c29 jp3 c24 jp4 c23 u2 74hc4049 r7 c7 vpp tp4 d5 c6 r9 r81 r10 c44 r6 tp1 c3 c2 c27 tp24 rt jp5 tp13 dtmf1 lv1 tp12 d8 c8 rp1 x1 pic16c77 u3 r3 r1 r35 csn2 tp27 irqn2 tp26 tp11 csn1 irqn1 tp10 d35 cd2 d7 irqn2 r82 rp3 r12 r11 tp45 tp44 tp43 tp42 tp48 vss rp2 c9 x4 x5 c5 tp7 sclk tp8 cdata tp9 rdata sw9 c4 jp1 jp2 d15 tp50 vss j4 fs2 r18 r16 r17 r19 d16 r39 c22 c17 r40 r34 r30 fs3 t3 r41 d22 vss tp49 tp23 rlydrv rxn tp19 rxo tp21 r50 d33 ring2 tp30 rd tp41 r52 tr3 r56 r60 r59 tp33 fs4 d27 d23 d31 d30 jp12 d32 r49 d26 d24 r51 d25 r48 r43 c32 c33 jp11 j5 r42 r67 c42 j6 c1 tp38 vbias tp36 rxp rxo tp37 rxn tp35 tp39 rlydrv tp47 vss d34 t5 r45 c40 r53 t6 r55 r54 r61 fs5 r62 fs6 cmx6x4p4 u8 r46 r68 r69 r44 r57 sw8 sw7 r58 c38 aqv253h u10 c31 tp34 r64 t4 u7 lmc6482n c18 c37 tp32 txon tp31 txo r47 r80 c34 d29 d28 tr4 tr6 r37 c36 r2 r70 r75 r38 r66 tr2 tr5 c13 max3232 u4 c11 r78 vdd2 tp6 tp5 vss2 j8 sw3 sw2 jp7 jp6 c35 c41 tp40 rt c39 r63 tp28 lv2 tp29 dtmf2 r77 c10 c12 r76 ilq615 u11 r72 r73 r71 r74 j2 jp8 c15 c14 c45 r65 3.6864mhz 3.5795mhz 2-wire line 3.6864mhz 2-wire line hook1 4-wire line 4-wire line modem 1 modem 2 3.5795mhz 1 4-wire line 2-wire line 4-wire line vis+ vis- rs232 norm isolate op prog board mod 2 3 4 5 1 vss vin 2-wire line hook2 reset vss vdd ber test points pcb008b figure 5 evaluation board layout
evaluation kit for cmx624/cmx644 a EV6240 15 ? 1999 consumer microcircuits limited um6240/3 tp25 rd txo tp15 txon tp16 tp18 tp14 ring1 sw4 sw6 tp17 vbias tp22 vss tp46 tp20 rxp jp9 j3 jp10 sw1 tp1 vpp tp4 jp4 jp3 j7 d6 irqn1 d21 cd1 tp2 vss tp3 vdd sw5 j1 jp2 jp1 sw9 tp9 rdata tp8 cdata tp7 sclk tp48 vss tp42 tp43 tp44 tp45 d7 irqn2 d35 cd2 irqn1 tp10 tp11 csn1 irqn2 tp26 csn2 tp27 lv1 tp12 tp13 dtmf1 jp5 tp24 rt tp50 vss j4 rxo tp21 rxn tp19 tp23 rlydrv vss tp49 d22 rd tp41 ring2 tp30 tp33 jp12 jp11 j5 j6 tp38 vbias tp36 rxp rxo tp37 rxn tp35 tp39 rlydrv tp47 vss sw8 sw7 tp34 tp32 txon tp31 txo d34 vdd2 tp6 tp5 vss2 j8 sw3 sw2 jp7 jp6 tp40 rt tp28 lv2 tp29 dtmf2 j2 jp8 3.6864mhz 3.5795mhz 2-wire line 3.6864mhz 2-wire line hook1 4-wire line 4-wire line 3.5795mhz 1 4-wire line 2-wire line 4-wire line vis+ vis- rs232 norm isolate op prog vss vin 2-wire line hook2 reset ber test points figure 6 evaluation board inputs, outputs and test points
evaluation kit for cmx624/cmx644 a EV6240 16 ? 1999 consumer microcircuits limited um6240/3 1.6 detailed description 1.6.1 hardware description - evaluation board 1.6.1.1 line protection. line protection is provided for each modem on both line interfaces by r14-r19 (47 w ), r42-r47 (47 w ), d12, d15, d16, d25, d28 and d29 (phillips br211 series 140v). these components are not fitted, but suitable values for uk applications are suggested in brackets. wire links which bypass r14-r19 (modem one) and r42-r47 (modem two) will need to be removed if these resistors are fitted. 1.6.1.2 operating voltage the operating voltage (v dd ) is set to 5.0v. this may be altered by changing components r4 and r5 which are socketed. to select 3.3 volts set r4 = 360 w and r5 = 33 w . the formula for calculating the values of r4 and r5 is as follows: r4 r5 240 (v 1.25) 1.25 dd + = - where 240 is the value of r7 in ohms and v dd is the required supply voltage. 1.6.1.3 clock/oscillator the cmx6x4 evaluation devices may use either an external clock or their own xtal oscillators. two on-board xtals, 3.5795mhz (cmx624) and 3.6864mhz (cmx644a), are provided for each modem for the latter method. a single switch for each modem is provided to select between the on-board xtals, sw5 (modem one) and sw9 (modem two). two jumpers for each modem (jp3 and jp4 for modem 1 and jp6 and jp7 for modem 2), which are normally fitted, can be removed to allow for an external clock. the external clock may be supplied to jp4 pin 1 (modem one) and/or jp7 pin 1 (modem two) once the jumpers have been removed. the pic16c77 may be provided with an external clock in the same way by removing jumpers jp1 and jp2. note that pics programmed by cml are only configured for use with the on -board 4mhz crystal. 1.6.1.4 line interface each modem is provided with 2-wire and 4-wire line interfaces. the inter faces for each modem are selected using two miniature switches, sw4 and sw6 (modem one) and sw7 and sw8 (modem two). the line interface switches should be the same as the settings in the s27 registers. the majority of the line interface components are fitted in sockets for adjustment purposes. these values should be calculated based on the evaluation device, operating voltage and line conditions, see the evaluation device data sheet for more information. the 2-wire ac line impedance matching is provided by t1, r26 (modem one) and t4, r54 (modem two) which are factory fitted to suit a 600 w line. the line transformers used on the EV6240 board have an insertion loss of approximately 1.2db over the operating frequency range. the dc line resistors, r20 (modem one) and r48 (modem two) should be removed when connecting the on-board modems together via the 2-wire line. note: for correct operation ensure the txon output of the cmx6x4 device is enabled whilst performing evaluation tests.
evaluation kit for cmx624/cmx644 a EV6240 17 ? 1999 consumer microcircuits limited um6240/3 1.6.1.5 ring de tection modem one ring detection on the 2-wire line is provided by components c19, c20, r21, r22, r28 and r32, plus d17-d20. the response time is set by components r35 and c27. modem two ring detection on the 2-wire line is provided by components c31, c32, r49, r50, r56 and r60, plus d30-d33. the response time is set by components r63 and c39. the evaluation board has been fitted with suitable components for uk applications. see cmx624/cmx644a data sheets for further details. 1.6.1.6 ring stimulus rin g stimulus can be applied to each modem via the pic c and tr1 (modem one) or tr3 (modem two). this feature is activated when the user enters the ring stimulus command. 1.6.1.7 i dd measurement the evaluation device i dd may be measured for each modem by removing jumper jp5 (modem one) or jp8 (modem two) and replacing it with a multimeter. 1.6.1.8 line voltage monitoring an indication of the level of voltage on the 2-wire lines for each modem are provided at bit 0 (pin 2) and bit 1 (pin3) of the pic c port a. for a 48 volt dc line the level at this point is ? 3.0v dc. these c pins can be re -configured as adc inputs and, with appropriate firmware, be used to monitor the line voltage. note that this feature is not used by the current firmware revision. the line voltage monitoring circuitry can be disabled by removing jumpers, j9 and jp10 (modem one) or jp11 and jp12 (modem two). when the line voltage monitoring jumpers (jp9 to jp12) are removed, the line interface will not be referenced to v ss . 1.6.1.9 optional opto-isolated serial interface. to avoid potential common mode interference problems when operating over the 2-wire line, the line interface is referenced to v ss (line voltage monitoring jumpers fitted). however, this 2-wire line referencing scheme will cause the line to become unbalanced when the evaluation kit is connected to a telephone simulator that employs a ground referenced line interface. therefore the EV6240 is provided with an optional opto-isolated serial interface to overcome this problem. the optional interface will also minimise noise from the host pc. to operate with the opto-isolated serial interface set switch, sw2, to the ?isolate? position and connect a second power supply or battery via the two-way socket, j8. this second power supply should be set to the same voltage as the on-board regulated supply, (v dd ) either 3.3v or 5v. 1.6.1.10 serial interface on the evaluation board the rs232 dcd (data carrier detect) and dsr (data set read) handshaking lines are linked to the pc dtr (data terminal ready) line. for evaluation purposes these handshaking lines are not toggled in the same fashion as a standard pc modem. during normal operation and v22/v23 handshaking sequences the pic c only uses the txd (transmit data) and rxd (receive data) lines together with the cts (clear to send) and rts (request to send) handshaking lines to communicate with the pc via the serial interface.
evaluation kit for cmx624/cmx644 a EV6240 18 ? 1999 consumer microcircuits limited um6240/3 1.6.1.11 dtmf decoding an indication of the dtmf signal levels on either the 2 or 4 wire lines for each modem are provided at bit 2 (pin 4) and bit 5 (pin 7) of the pic c port a. these c pins can be re- configured as adc inputs and, with appropriate firmware, be used to decode the dtmf signal. the dtmf signal level at the pic c inputs can be adjusted by changing components r40 (modem one) or r68 (modem two). the components r40 and r68 have been fitted with values to provide a 20db voltage gain with respect to the signal level at rxo. note that this feature is not used by the current firmware revision. 1.6.2 adjustments and controls various line interface components around the evaluation devices are socketed to allow for user adjustments. discrete component sockets are also provided for telco-specific components. miniature control switches are provided to select the required line interfaces (2-wire or 4-wire), on- board crystals (3.5795mhz or 3.6864mhz), mode (operating or program) and serial interface (normal or isolated). 1.6.3 firmw are description the source code for the pic firmware is supplied as the file ef6240xx asm. please note that there are two modes of operation for the evaluation kit. modem mode allows one of the evaluation board modems to perform calling, answering and simple data tests with a line simulator or external third party modem (not supplied). test mode allows diagnostic and performance tests to be made on modem one and/or modem two. the firmware supplie d in the pic c assumes the following configuration; 8 data bits, no parity, 1 stop bit and 19,200 baud with hardware handshake but without cr ? cr/lf conversion. the firmware only supports dtmf dialling. the firmware routine run at start-up and reset performs the following important tasks: peripheral interrupt initialisation c ports and i/o direction initialisation serial communication interface (sci) initialisation serial peripheral interface (spi) initialisation loads modem one and modem two with factory profile 0 resets modem one and modem two evaluation devices. the message ef6240 vx.x (where x.x represents the version number), will be displayed in the terminal emulator window when these tasks have been completed. at command echoing is an option available in the firmware and involves echoing the received characters sent by the pc. when echoing is enabled the firmware will send a lf character directly after a cr character to ensure the terminal emulator display is legible. the firmware also provides the option of sending result codes to the pc. these responses can be in either an alpha or numeric (hex) form. simple data transfer using the terminal emulator involves the user entering text via the keyboard. downloading data may be achieved using the terminal emulator send text file facility. the c firmware does not support any send or receive data transfer protocols.
evaluation kit for cmx624/cmx644 a EV6240 19 ? 1999 consumer microcircuits limited um6240/3 the send text file facility can also be used for at command scripts. note: some terminal emulators have been found not to support full hardware flow control when transferring text files. this could result in data loss when using this facility. if this problem is experienced users should try using a different terminal emulator the following at commands can be entered on a pc running windows terminal emulator software, such as the ?hyper terminal? program supplied with windows ?95 or nt systems. basic at commands command description a answer command the modem will go off-hook, transmit the answer tone, and wait for a carrier from the remote modem. syntax: ata a/ re-execute previous command line re-executes the last issued command line. this command does not require the at prefix or a carriage return. syntax: a/ bn select communications standard selects the communications standard specified by the parameter n. syntax: atbn modifier usage n=0 selects itu-t standard (default). n=1 selects bell standard. dn dial command this command directs the modem to go off-hook, dial according to the string entered and attempt to establish a connection. number of dtmf digits entered cannot exceed 16. syntax: atdn1n2n3??.n16 modifier usage n1..16=0-9, *, #, a-d dtmf digits. n1=l re-dial last number. en echo command characters syntax: aten modifier usage n=0 disables the echoing of commands to the screen n=1 enables echoing of commands to the screen (default ) .
evaluation kit for cmx624/cmx644 a EV6240 20 ? 1999 consumer microcircuits limited um6240/3 fn select line modulation selects the line modulation specified by the parameter n. syntax: atfn modifier usage n=0 selects the cmx624 for v.23 or bell 202 line modulation (default). n=1 selects the cmx644a for v.22 or bell 212a line modulation. n=2 reserved. hn switch hook control syntax: athn modifier usage n=0 instructs the modem to go on-hook (disconnect). n=1 instructs the modem to go off-hook. in identification requests the modem to return its product identification information. syntax: atin modifier usage n=0 displays the firmware name and version number. n=1 displays product name. n=2 displays cml uk sales information. n=3 displays south east asia sales information. n=4 displays nafta sales information. qn enable/disable modem responses syntax: atqn modifier usage n=0 enables result codes to be issued to the screen (default). n=1 disables result codes to be issued to the screen sn? s-register read command for displaying the contents of an s-register. syntax: at@sn? where n is the s-register to be interrogated (decimal). value returned will be in hexadecimal format. sn=x s-register write command for writing to an s-register. (see list of s-registers later on) syntax: at@sn=x where n is the s-register (decimal) and x is the value to be written (decimal, 0-255).
evaluation kit for cmx624/cmx644 a EV6240 21 ? 1999 consumer microcircuits limited um6240/3 vn result code format syntax: atvn modifier usage n=0 instructs the modem to display result codes as numbers. n=1 instructs the modem to display result codes as words (default). xn calling characteristics determines which set of responses and calling characteristics are used. syntax: atxn modifier usage n=0 the modem will ignore dial tones and busy tones. dial tone wait time is zero, and blind dialling is enabled. the modem returns a connect result code when a connection is established. n=1 the modem will ignore dial tones and busy tones. dial tone wait time is zero, and blind dialling is enabled. the modem returns a connect xxxx result code when a connection is established, where xxxx is the tx/rx line speed (default). n=2 the modem will ignore busy tones, but waits for a dial tone before dialling. if a dial tone is not detected within 5 seconds, a no dial tone result code is returned. the modem returns a connect xxxx result code when a connection is established, where xxxx is the tx/rx line speed. n=3 the modem will ignore dial tones. if a busy tone is detected, a busy result code is returned. blind dialling is enabled. the modem returns a connect xxxx result code when a connection is established, where xxxx is the tx/rx line speed. n=4 if a dial tone is not detected within 5 seconds, a no dial tone result code is returned. if a busy tone is detected, a busy result code is returned. the modem returns a connect xxxx result code when a connection is established, where xxxx is the tx/rx line speed. zn modem reset instructs the modem to reset the evaluation device and then reload the factory s- register settings. syntax: atzn modifier usage n=0 reset cmx6x4 device and restore factory profile 0. n=1 reset cmx6x4 device and restore factory profile 1. $ at command online help displays all at commands syntax: at$
evaluation kit for cmx624/cmx644 a EV6240 22 ? 1999 consumer microcircuits limited um6240/3 extended at commands command description &fn recall factory defaults instructs the modem to reload the factory s-register settings. syntax: at&fn modifier usage n=0 recalls factory profile 0. n=1 recalls factory profile 1. & gn guard tone select in itu-t mode guard tones are always disabled in the u.s.a. syntax: at&gn modifier usage n=0 disable guard tone (default). n=1 select a 550hz guard tone. n=2 select a 1800hz guard tone. & ln select line interface selects the line interface specified by the parameter n. on-board miniature switches must also be switched to required position. syntax: at&ln modifier usage n=0 selects the 2-wire line interface (default). n=1 selects the 4-wire line interface. &$ extended at command online help displays all extended at commands syntax: at&$
evaluation kit for cmx624/cmx644 a EV6240 23 ? 1999 consumer microcircuits limited um6240/3 cml specific at commands command description @ bn ring detection instructs pic to detect bt or bell ringing on a modem?s ring detect line. syntax: at@bn modifier usage n=0 bt ring detection (default). n=1 bell ring detection. @en evaluation mode informs pic which mode we will be operating in. syntax: at@en modifier usage n=0 selects modem mode (default). n=1 selects test mode. @fn test functions syntax: at@fn modifier usage n=0 return the status of the following digital inputs:- irqn1 (bit 0), lv1 (bit 1), irqn2 (bit 4), and lv2 (bit 5). n=1 ber measurement. (not available in the current firmware revision). n=2 ber test points (returns status of input and sets outputs high). n=3 ber test points (returns status of input and sets outputs low). n=4 cd led on. n=5 cd led off. n=6 simulate ring burst. n=7 simulate ring silence. @ mn modem focus informs pic which modem should have the at command focus. all subsequent at commands are directed at the modem with the focus. syntax: at@mn modifier usage n=0 directs all subsequent at commands to modem one (default). n=1 directs all subsequent at commands to modem two. @rr cmx6x4 device reset resets the cmx6x4 device for the modem with focus. syntax: at@rr
evaluation kit for cmx624/cmx644 a EV6240 24 ? 1999 consumer microcircuits limited um6240/3 @ rn? cmx6x4 register read command for displaying the contents of a cmx6x4 device register syntax: at@rn? where n is the cmx6x4 register address (hexadecimal). value returned is in hexadecimal format. @ rn=x cmx6x4 register write command for writing to a cmx6x4 device register. syntax: at@rn=x where n is the cmx6x4 register address (hexadecimal) and x is the value to be written (decimal, 0-255). @ tn ber measurement set up informs pic which modem is transmitting and receiving during ber measurement. syntax: at@tn modifier usage n=0 selects modem one tx/rx (default). n=1 selects modem one tx and modem two rx. n=2 selects modem two tx and modem one rx. n=3 selects modem two tx/rx. @$ cml specific at command online help displays all cml specific at commands syntax: at@$ at command summary 1) commands must be typed in upper case. 2) the maximum command length is 32 characters, including the at prefix but excluding the carriage return. 3) a user defined escape sequence (usually +++) is required to revert the modem from on-line (data transfer mode) to the command mode, to allow the user to issue at commands to the pic. 4) every command except for a/ and the escape sequence must begin with the at prefix and be entered by pressing a carriage return.
evaluation kit for cmx624/cmx644 a EV6240 25 ? 1999 consumer microcircuits limited um6240/3 s-registers the following table gives a brief description of the available s-registers and their functions. register range, units and factory profiles are also listed . s- register factory profiles reg range units description ?0? (default at power up ) ?1? s0 0-255 rings automatic answer - the number of rings until automatic answer. if the register is set to zero, modem does not answer. 0 5 s1 0-255 rings count incoming rings - this register is read only and contains the number of rings detected by the modem. 0 0 s2 0-127 ascii decimal escape character value - this register defines an ascii decimal value of the escape character. the default setting is an ascii + and the escape sequence is +++. a value over 127 disables the escape sequence. 43 43 s3 0-127 ascii decimal carriage return character - contains the ascii decimal value of the character used to send a carriage return. this character ends both commands and result codes. 13 13 s4 0-127 ascii decimal line feed character - contains the ascii decimal value of the character used to send a line feed. the modem sends the line feed character after a carriage return only when word responses are sent. 10 10 s6 2-255 s wait time for blind dialling - sets the length of time to pause after the modem goes off the hook before the modem dials the first digit of the telephone number. 2 2 s7 1-255 s wait for carrier after dial - sets the length of time the modem waits for a carrier before returning on-hook. 50 50
evaluation kit for cmx624/cmx644 a EV6240 26 ? 1999 consumer microcircuits limited um6240/3 s-register factory profiles reg range units description ?0? ?1? s10 1-255 100ms lost carrier to hang up delay - sets the length of time that the modem waits before hanging up after the loss of a carrier. this allows the modem to distinguish between disturbances that momentarily break the connection and the remote modem hanging up. 7 7 s11 5-255 10ms dtmf tone duration - defines the duration of dtmf tones for tone dialling. the length of pause between each dtmf tone is the same as this duration time. 10 20 s12 0-255 50ms escape code guard time - controls the time required before typing escape sequence codes. 20 20 s14 0-255 decimal general options - provides the following functions: bit 0 - reserved bit 1 - echo command character, 0 disables echoing (ate0), 1 enables echoing (ate1) bit 2 - result code display, 0 send responses (atq0), 1 do not send responses (atq1) bit 3 - word or number responses, 0 send number responses (atv0), 1 send word responses (atv1) bit 4,5,6 - reserved bit 7 - answer/originate operation, 0 answer (ata), 1 originate (atd) 138 128 s18 0-255 s general purpose timer - used for various firmware functions. 5 5
evaluation kit for cmx624/cmx644 a EV6240 27 ? 1999 consumer microcircuits limited um6240/3 s-register factory profiles reg range units description ?0? ?1? s22 0-255 decimal bit mapped register - provides the following functions: bit 0,1,2,3,7 - ignored bit 4,5,6 - calling characteristics, 000 (atx0), 100 (atx1), 101 (atx2), 110 (atx3), 111 (atx4) 64 64 s23 0-255 decimal bit mapped register - provides the following functions (not applicable to cmx624): bit 0,1,2,3,4,5 - ignored bit 6,7 - guard tones, 00 none (at&g0), 01 550hz (at&g1), 10 1800hz (at&g2) 0 0 s27 0-255 decimal general mode selection - provides the following functions: bit 0,1,3,4,5- ignored bit 2 - line interface control, 0 two wire line interface (at&l0), 1 four wire line interface (at&l1) bit 6 - bell/itu-t select, 0 itu-t standard (atb0), 1 bell standard (atb1) bit 7 - ring detection select, 0 bt (at@b0), 1 bell (at@b1). 0 0 note: for correct firmware operation the s2, s3 and s4 settings must be the same for both board modems. modem result codes numeric response (hex) alpha response 00 ok 01 connect 02 ring 03 no carrier 04 error 05 connect 1200 06 connect 1200/75 07 connect 1200/150 08 connect 75/1200 09 connect 150/1200 0a no dial tone 0b busy 0c undefined 0d undefined 0e pic rx error 0f pic rx buffer overflow
evaluation kit for cmx624/cmx644 a EV6240 28 ? 1999 consumer microcircuits limited um6240/3 1.6.4 software description 1.6.4.1 terminal emulator users will need to run a suitable terminal emulator on their pc in order to communicate with the pic c on the evaluation kit. ?hyper terminal?, which is supplied with the windows ?95 and nt installations, is suitable for this purpose. hyper terminal setup emulation vt100 ascii character set ascii receiving: wrap lines that exceed terminal width. com port settings: bits per second 19,200 data bits 8 parity none stop bits 1 flow control hardware 1.6.4.2 in-circuit re-programming of pic16c77 in order that the pic16c77 m c may be re-programmed the existing program must be erased by placing the device in a uv-eraser for approximately 15 minutes. to enter programming mode (a) remove power from board. (b) set switch, sw3, to ?prog? and switch, sw2, to ?norm?. (c) re-apply power to board. (v dd = 5.0v). (d) connect the programming voltage (v pp = 12.5v to 13.5v) power supply between test point tp4 (+ ve) and v ss (- ve). (e) ensure the pic c programming utility picprogb.exe is loaded into the pc under dos and the pc is connected to the evaluation kit. (f) reset the EV6240 board by momentarily pressing switch sw1. using the software - picprogb this is supplied on disk as a self-documented executable file picprogb.exe for a pc running dos (either directly or as a dos window in windows 3.11 or ?95). it is not recommended for use on windows nt systems. please note that this programming software does not meet the arizona microchip technology verification requirements for a ? production quality ? programmer. also, it does not support the programming of id.
evaluation kit for cmx624/cmx644 a EV6240 29 ? 1999 consumer microcircuits limited um6240/3 the user interface consists of two windows. the top window contains the operating instructions and status information. the bottom window contains prompting and progress information plus user input. when the top window first appears the user will be prompted to enter the number of the serial communications port to which the EV6240 board is connected, and then, which device is to be programmed. for the EV6240 board select option 2, pic16c77. once the user has entered this information, the following commands may be selected: press f to load file press c to configure device. press b to check target device is blank. press p to program target device. press v to verify target device. press r to read target device. press a to view contents of program data array. press esc to retur n to dos. a new function from the above table can be selected whenever the > ok prompt appears in the bottom window. notes: a) assembler output files must be in the intel hex format (.hex) in order to be usable by this programming software. b) the pic m c supplied has a configuration word which is preset 3fb1h . this selects the crystal oscillator, disables the watch dog timer, enables the power up timer and disables code protection. the programming software currently defaults to 3fb1h. consult arizona microchip technology for more information on the configuration word. c) the ? blank check ? command (b) only looks at the first location. a programmed device will always have data in this location as it is the program start address. d) for each of the commands b,p,r and v the user will be prompted to manually reset the target m c, by pressing the reset switch (sw1) on the EV6240 evaluation board. this is because pic programming always starts from location 0000 and the program counter can only be incremented. e) pressing a will display the program data in the bottom window, formatted in pages of 48 consecutive locations. use the < pageup> and < pagedown> keys to scroll through the data. pressing will return the user to the > ok prompt. f) programming the EV6240 pic16c77 using the picprogb software takes approximately 2 minutes. to leave programming mode a) remove power from board (including the programming voltage, v pp ). b) set switch, sw3, to ?op?. c) power up board as described in previous sections for normal operation.
evaluation kit for cmx624/cmx644 a EV6240 30 ? 1999 consumer microcircuits limited um6240/3 1.6.5 evaluation tests 1.6.5.1 ber measurement (not available in the current firmware revision). to allow the user to perform bit error rate testing (bert) the ef6240 firmware contains a bert routine. this facility requires the user to put the evaluation board into test mode (at@e1) and modify the ber measurement set up ( at@tn) to the appropriate configuration. the bert routine can be configured to operate in one of two ways; with a single on-board modem connected to an external simulator/modem, via the 2 or 4-wire line interfaces; or simply by connecting the two on-board modems together via the 2 or 4-wire line interfaces. note, the bert routine is performed in synchronous mode and uses a preamble and sync byte when it begins to allow the c firmware to synchronise with the start of the bit stream. when the configuration set up is complete bert can commence by entering the at@f1 command. the ber tester should be started before the user enters the at@f1 command to ensure bit synchronisation is achieved. hardware setup this function enables connection to ber testers as follows: tp42 (pic16c77 c pin 19) to ber tester tx data o/p tp43 (pic16c77 c pin 20) to ber tester tx data clock i/p tp44 (pic16c77 c pin 21) to ber tester rx data i/p tp45 (pic16c77 c pin 22) to ber tester rx data clock i/p the tester must be able to operate from an external clock. the timings of the clock prov ided from the evaluation board c are as follows: 1 byte time 1 byte time tx clock rx clock t a t b figure 7 evaluation board c clock outputs times t a and t b vary as the clocks are adjusted to fit the exact byte periods of the evaluation devices. data is assumed to be clocked in and out of the tester on the rising edge of either rx or tx clock.
evaluation kit for cmx624/cmx644 a EV6240 31 ? 1999 consumer microcircuits limited um6240/3 1.6.5.2 modem two automatically answering a v22 call from an external simulator/modem modem two configured to auto-answer on 10 consecutive bt rings via the 2-wire line. the cmx644a will be configured to operate with 8 data bits, 1 stop bit and no parity. example assumes the evaluation board is powered up with cmx644a target devices inserted and with the line select switches set to 2-wire and the crystal select switches set to 3.6864mhz. 1. select cmx644a target devices for v22 or bell 212a line modulation. command : atf1 2. set focus to modem two. command : at@m1 3. write to cmx644a uart mode register, 8 data bits and 1 stop bit. uart mode register bit 5 (sync/async) will be overwritten during handshaking and data transfer. command : at@re4 = 8 4. set automatic answer s-register (s0) to 10 rings. command : ats0=10 modem two will begin the EV6240 answering modem handshaking sequence when 10 consecutive bt rings have been successfully detected on the 2-wire line. 1.6.5.3 modem two manually answering a v23 call from an external simulator/modem external simulator/modem sets up a call to modem two of the EV6240 evaluation board via the 2-wire line. depending on the test set up a ringing signal will be present on the line or the calling external simulator/modem will be waiting for the 2100hz answer tone. the cmx624 will be configured to operate with 7 data bits, 2 stop bits and no parity. example assumes the evaluation board is powered up with cmx624 target devices inserted and with the line select switches set to 2-wire and the crystal select switches set to 3.5795mhz. 1. set focus to modem two. command : at@m1 2. write to cmx624 setup register, 7 data bits and 2 stop bits. all other setup register bit settings will be overwritten during handshaking and data transfer. command : at@re0=9 3. manually answer v23 call. command : ata modem two will go off-hook and begin the EV6240 answering modem handshaking sequence via the 2-wire line. this will start with a 2 second billing delay before transmitting the 2100hz answer tone.
evaluation kit for cmx624/cmx644 a EV6240 32 ? 1999 consumer microcircuits limited um6240/3 1.6.5.4 modem two originating a bell 202 call to an external simulator/modem modem two configured to dial out and detect call progress tones via the 2-wire line with dtmf tone durations of 150ms. example assumes the evaluation board is powered up with cmx624 target devices inserted and with the line select switches set to 2-wire and the crystal select switches set to 3.5795mhz. 1. set focus to modem two. command : at@m1 2. select bell communications standard for bell 202. command : atb1 3. set calling characteristic to detect dial tones and busy tones. command : atx4 4. set dtmf tone duration s-register (s11) to 150ms. command : ats11=15 5. dtmf dial. command : atd0176432198 modem two will begin the EV6240 calling (originate) modem handshaking sequence when the dial tone has been detected, dtmf tones transmitted and no busy tone is detected. the ok result code returned to the pc after dialling indicates the handshaking sequence has begun. no dial tone or busy result codes returned to the pc indicate that the dialling stage has failed and the handshaking sequence has not been attempted. 1.6.5.5 modem two transmitting low band psk in test mode via a 2-wire line example assumes the evaluation board is powered up with cmx644a target devices inserted and with the line select switches set to 2-wire and the crystal select switches set to 3.6864mhz. 1. select cmx644a target devices for v22 or bell 212a line modulation. command : atf1 2. select test mode for simple diagnostic purposes. command : at@e1 3. set focus to modem two. command : at@m1 4. write to cmx644a setup register (relay drive and 3.6864mhz xtal) command : at@re0=65 5. write to cmx644a gain blocks register (0db tx gain) command : at@re2=240 6. write to cmx644a tx psk mode register (txon, low band and psk tx enabled) command : at@re7=66
evaluation kit for cmx624/cmx644 a EV6240 33 ? 1999 consumer microcircuits limited um6240/3 1.6.5.6 modem one originating a v23 call to an external simulator/modem modem one configured to dial out via the 2-wire line using a blind dialling method (blind dial wait time of 5 seconds) with dtmf tone durations of 200ms. example assumes the evaluation board is powered up with cmx624 target devices inserted and with the line select switches set to 2-wire and the crystal select switches set to 3.5795mhz. 1. set wait time for blind dialling s-register (s6) to 5 seconds. command : ats6=5 2. set dtmf tone duration s-register (s11) to 200ms. command : ats11=20 3. dtmf dial. command : atd0176432198 modem one will begin the EV6240 calling modem handshaking sequence when the dtmf tones have been transmitted. the ok result code returned to the pc after dialling indicates the handshaking sequence has begun.
evaluation kit for cmx624/cmx644 a EV6240 34 ? 1999 consumer microcircuits limited um6240/3 1.6.6 additional information 1.6.6.1 cmx624 optional connection settings the cmx624 data format can be modified by the user before a modem mode connection is attempted. this can be achieved using the at@re0=x command (where x is the decimal register setting). at power up the cmx624 setup register defaults to 0 which corresponds to 8 bit data, no parity and 1 stop bit. the rx equaliser and tx level control bit settings are also optional and should be enabled if required before a connection is attempted. 1.6.6.2 cmx644a optional connection settings the cmx644a tx/rx gain is controlled by the user. the settings in the gain blocks register will only be used during handshaking and data transfer if the tx gain control bits (tg0-tg3) are not equal to zero (o/p off). if a connection is attempted and the tx gain control bits are zero the firmware will modify the tx gain control bits of the gain blocks register to give a tx gain of 0db. the tx/rx equaliser control bit settings are also optional and should be enabled if required before a connection is attempted. 1.6.6.3 v23/bell 202 handshaking sequence for an EV6240 calling modem via a 2-wire line figure 8 is a flowchart illustrating the firmware handshaking sequence performed when an on-board cmx624 modem originates a call to an external v23/bell 202 simulator/modem. the firmware assumes the external equipment has been configured to answer the call using the appropriate protocol. the states shown in the diagram are as follows: calling modem entry point on entry the modem will be off-hook, dtmf dialling and the required call progress monitoring completed. state 1 start the wait for carrier after dial timer (setting stored in s7). check communications standard selected by user (bell or itu-t). if bell goto state 4. state 2 set up cmx624 to detect 2100hz answer tone. start transmitting the 1300hz calling tone (cadence 0.6s on and 1.5s off). if the 2100hz answer tone is detected then start validation timer (setting stored in s18). if the 2100hz answer tone is detected for 1s stop transmitting the 1300hz calling tone then goto state 3. if the wait for carrier after dial timer expires then hang up and exit.
evaluation kit for cmx624/cmx644 a EV6240 35 ? 1999 consumer microcircuits limited um6240/3 state 3 when rx energy flag is clear start 60ms silence timer if validation timer expires the 2100hz answer tone has been present for too long so hang up and exit. state 4 set up cmx624 to detect high band fsk. wait until the rx energy flag is set then goto state 4b. if the wait for carrier after dial timer expires before the rx energy flag is set then hang up and exit. state 4b check communications standard selected by user (bell or itu-t). if bell goto state 4c. else if 60ms silence timer has not expired hang up and exit. state 4c restart validation timer (setting stored in s18). whilst the rx energy flag (currently detecting high band fsk) is set the rx data is monitored to ensure 95% of 1?s (marks) are detected for 160ms. if 95% of high band fsk 1?s are detected for 160ms turn on modem cd led. start a 450ms timer goto state 5. if validation timer expires before 95% of high band fsk 1?s detected then hang up and exit. state 5 wait until 450ms timer expires then set up the cmx624 to tx low band fsk 1?s. start a 320ms timer state 6 wait until 320ms timer expires then goto data transfer mode.
evaluation kit for cmx624/cmx644 a EV6240 36 ? 1999 consumer microcircuits limited um6240/3 figure 8 v23/bell 202 handshaking sequence for an EV6240 calling modem via a 2-wire line
evaluation kit for cmx624/cmx644 a EV6240 37 ? 1999 consumer microcircuits limited um6240/3 1.6.6.4 v23/bell 202 handshaking sequence for an EV6240 answering modem via a 2-wire line figure 9 is a flowchart illustrating the firmware handshaking sequence performed when an on-board cmx624 modem answers a call from an external v23/bell 202 simulator/modem. the firmware assumes the external equipment has been configured to originate the call using the appropriate protocol. the states shown in the diagram are as follows: answering modem entry point on entry the modem will have manually answered a call using the ata command or auto-answered via the ring detect circuitry. in both cases the modem will be off-hook. start 2 second billing delay timer state 10 wait for billing delay timer to expire. check communications standard selected by user (bell or itu-t). if bell goto state 14. state 11 set up cmx624 to tx 2100hz answer tone. start 3.3 second answer tone timer. state 12 wait for answer tone timer to expire. turn off tone o/p (silence). start 80ms silence timer. state 13 wait for silence timer to expire. state 14 set up the cmx624 to t x high band fsk 1?s (marks) state 15 set up cmx624 to detect low band fsk. start validation timer (setting stored in s18). when the rx energy flag is set the rx data is monitored to ensure 95% of 1?s are detected for 160ms. if 95% of low band fsk 1?s are detected for 160ms turn on modem cd led. goto data transfer mode. if validation timer expires before 95% of low band fsk 1?s detected then hang up and exit.
evaluation kit for cmx624/cmx644 a EV6240 38 ? 1999 consumer microcircuits limited um6240/3 figure 9 v23/bell 202 handshaking sequence for an EV6240 answering modem via a 2-wire line
evaluation kit for cmx624/cmx644 a EV6240 39 ? 1999 consumer microcircuits limited um6240/3 1.6.6.5 v22/bell 212a handshaking sequence for an EV6240 calling modem via a 2-wire line figure 10 is a flowchart illustrating the firmware handshaking sequence performed when an on-board cmx644a modem originates a call to an external v22/bell 212a simulator/modem. the firmware assumes the external equipment has been configured to answer the call using the appropriate protocol. the states shown in the diagram are as follows: calling modem entry point on entry the modem will be off-hook, dtmf dialling and the required call progress monitoring completed. state 1 start the wait for carrier after dial timer (setting stored in s7). check communications standard selected by user (bell or itu-t). if bell set up cmx644a to detect 2225hz answer tone. goto state 6. state 2 set up cmx644a to detect 2100hz answer tone. start transmitting the 1300hz calling tone (cadence 0.6s on and 1.5s off). state 3 if the 2100hz answer tone is detected then start validation timer (setting stored in s18). if the 2100hz answer tone is detected for 1s stop transmitting the 1300hz calling tone then goto state 4. if the wait for carrier after dial timer expires then hang up and exit. state 4 wait until silence occurs (2100hz answer tone not detected) start a 60ms timer. set up cmx644a to detect 2225hz answer tone (set up will allow for frequency detection of either the 2225hz answer tone or high band unscrambled psk 1?s (marks)) goto state 5. if validation timer expires the 2100hz answer tone has been present for too long so hang up and exit.
evaluation kit for cmx624/cmx644 a EV6240 40 ? 1999 consumer microcircuits limited um6240/3 state 5 wait until 2225hz answer tone or high band unscrambled psk 1?s (marks) frequency has been detected. if 60ms timer has expired. goto state 6a. else silence period is too short so hang up and exit. if the wait for carrier after dial timer expires then hang up and exit. state 6 wait until 2225hz answer tone is detected then goto state 6a. if the wait for carrier after dial timer expires then hang up and exit. state 6a start a 160ms timer. if 160ms time r expires goto state 7. if 2225hz answer tone is not detected then goto state 6. state 7 disable 2225hz answer tone detection. check communications standard selected by user (bell or itu-t). if bell start a 550ms timer. else start a 450ms timer. state 8 wait until 450ms or 550ms timer expires set up the cmx644a to tx low band scrambled psk 1?s (marks). restart validation timer (setting stored in s18). set up cmx644a to detect high band scrambled psk. state 9 when the psk carrier detect flag is set the rx data is monitored to ensure 95% of 1?s are detected for 270ms. if 95% of high band scrambled psk 1?s are detected for 270ms turn on modem cd led. start a 770ms timer. goto state 10. if validation timer expires before 95% of high band scrambled psk 1?s detected then hang up and exit. state 10 wait until 770ms timer expires then goto data transfer mode.
evaluation kit for cmx624/cmx644 a EV6240 41 ? 1999 consumer microcircuits limited um6240/3 figure 10 v22/bell 212a handshaking sequence for an EV6240 calling modem via a 2-wire line
evaluation kit for cmx624/cmx644 a EV6240 42 ? 1999 consumer microcircuits limited um6240/3 1.6.6.6 v22/bell 212a handshaking sequence for an EV6240 answering modem via a 2-wire line figure 11 is a flowchart illustrating the firmware handshaking sequence performed when an on-board cmx644a modem answers a call from an external v22/bell 212a simulator/modem. the firmware assumes the external equipment has been configured to originate the call using the appropriate protocol. the states shown in the diagram are as follows: answering modem entry point on entry the modem will have manually answered a call using the ata command or auto-answered via the ring detect circuitry. in both cases the modem will be off-hook. start 2 second billing delay timer state 11 wait for billing delay timer to expire. check communications standard selected by user (bell or itu-t). if bell goto state 15. state 12 set up cmx644a to tx 2100hz answer tone. start 3.3 second answer tone timer. state 13 wait for answer tone timer to expire. turn off tone o/p (silence). start 80ms silence timer. state 14 wait for silence timer to expire. set up the cmx644a to tx high band unscrambled psk 1?s (marks) with guard tone if selected. state 15 set up cmx644a to tx 2225hz answer tone. state 16 set up cmx644a to detect low band scrambled psk. start validation timer (setting stored in s18). when the psk carrier detect flag is set the rx data is monitored to ensure 95% of 1?s are detected for 270ms. if 95% of low band scrambled psk 1?s are detected for 270ms then goto state 17. if validation timer expires before 95% of low band scrambled psk 1?s detected then hang up and exit.
evaluation kit for cmx624/cmx644 a EV6240 43 ? 1999 consumer microcircuits limited um6240/3 figure 11 v22/bell 212a handshaking sequence for an EV6240 answering modem via a 2-wire line
evaluation kit for cmx624/cmx644 a EV6240 44 ? 1999 consumer microcircuits limited um6240/3 state 17 set up the cmx644a to tx high band scrambled psk 1?s (marks) with guard tone if selected. start a 770ms timer. state 18 wait until 770ms timer expires then turn on modem cd led and goto data transfer mode. note: handshaking sequences are only performed when the EV6240 evaluation board is operated in the default evaluation mode (modem mode, at@e0). to ensure successful handshaking and data transfer between the EV6240 and third party modems, users should ensure their third party modem is configured to the correct protocol (see third party at command documentation). the EV6240 itu-t handshaking firmware incorporates the v25 calling and answering procedures. the EV6240 itu-t handshaking firmware will only allow the calling modem to connect with a modem that is using the v25 answering sequence. after dialling, the itu-t calling modem will pulse the 1300hz calling t one (0.6s on and 1.5s off) until the 2100hz answer tone has been detected. this v25 calling procedure is not shown on figures 8 and 10. handshaking sequences may be aborted by pushing any key prior to entering data transfer mode. whilst in data transfer mode the user can return to at command mode by typing the escape code sequence (+++). the escape code guard time must have expired to successfully return to the at command mode. the cd(carrier detect) led?s are only used during the modem mode handshaking sequences and data transfer. 1.6.6.7 use of cmx644a with early EV6240 kits early (rev a) EV6240 kits were designed for evaluating the cmx644: they can be easily modified to evaluate the cmx644a. (a) connect capacitor c44 (1.0f ceramic) between u6 pin 23 and ground (0v). (b) connect capacitor c45 (1.0f ceramic) between u8 pin 23 and ground (0v). (c) reprogram the pic c (u3) with the latest revision of firmware. rev b (and later) versions of the EV6240 kit do not require hardware modification for use with the cmx644a, although a later version of firmware, (available on the cml web site) may need to be programmed into the pic c. the cmx644 can still be evaluated on modified EV6240 kits, providing an earlier version of firmware is used. please contact cml for details.
evaluation kit for cmx624/cmx644 a EV6240 45 ? 1999 consumer microcircuits limited um6240/3 1.7 performance specification 1.7.1 electrical performance absolute maximum ratings exceeding these maximum ratings can result in damage to the evaluation kit. min. max. units supply (v in - v ss ) -0.3 40.0 v supply (v dd - v ss ) -0.3 7.0 v voltage on any pin to v ss -0.3 v dd + 0.3 v current into or out of v in and v ss pins 0 +1.5 a current into or out of any other pin -20 +20 ma storage temperature - +70 c operating temperature +10 +35 c operating limits correct operation of the evaluation kit outside these limits is not implied. notes min. max. units supply (v in - v ss ) 8.0 24.0 v supply (v dd - v ss ) 3.0 5.5 v operating temperature +10 +35 c external clock frequency for cmx624 3.575965 3.583125 mhz external clock frequency for cmx644a 3.686031 3.686769 mhz external clock frequency (for c at 5.0v v dd ) 0.1 20.0 mhz external clock frequency (for c at 3.3v v dd ) 0.1 4.0 mhz operating characteristics for the following conditions unless otherwise specified: cmx624 evaluation device and xtal frequency = 3.579545mhz, c = 4.00mhz cmx644a evaluation device and xtal frequency = 3.6864mhz, c = 4.00mhz v dd = 3.3v to 5.0v, tamb = +25c. notes min. typ. max. units dc parameters i dd (evaluation board - idle) 1 - 50.0 - ma a c parameters xtal/clock input to evaluation device ?high? pulse width 2 100 - - ns ?low? pulse width 2 100 - - ns osc1 input to pic c ?high? pulse width 50.0 - - ns ?low? pulse width 50.0 - - ns notes: 1. relays not energised. 2. timing for an external input to the clock/xtal pin. operating characteristics - timing diagrams for cmx624/cmx644a timing information, refer to current cml cmx624/cmx644a data sheets.
evaluation kit for cmx624/cmx644 a EV6240 cml does not assume any responsibility for the use of any circuitry described. no ipr or circuit patent licences are implied. cml reserves the right at any time without notice to change the said circuitry and this evaluation kit specification. evaluation kits are supplied for the sole purpose of demonstrating the operation of cml products and are supplied without warranty. they are intended for use in a laboratory environment only and are not for re-sale, end-use or incorporation into other equipments. operation of evaluation kits outside a laboratory environment is not permitted within the european community. all software is supplied "as is" and is without warranty. it forms part of the evaluation kit and is licensed for use only in this kit, for the purpose of demonstrating the operation of cml products. whilst all reasonable efforts are made to ensure that software contained in this product is virus free, cml accepts no responsibility whatsoever for any contamination which results from using this software and the onus for checking that the software is virus free is placed on the purchaser of this evaluation kit. 1 wheaton road witham - essex cm8 3td - england telephone: +44 1376 513833 telefax: +44 1376 518247 e-mail: sales@cmlmicro.co.uk http:// www.cmlmicro.co.uk


▲Up To Search▲   

 
Price & Availability of EV6240

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X